import json

from config import BASE_DIR


def emp_json(filename):
    with open(filename,encoding='utf-8') as f:
       data_list = json.load(f)
       new_list=[]
       for i in data_list:
           new_list.append(tuple(i.values()))
    return new_list
if __name__ == '__main__':
    print(emp_json(BASE_DIR + '/data/emp.json'))
